From ffa261e6adef70a2845878cf93e6e492eb8cee62 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Feb 2023 10:49:45 +0700
Subject: footer

---
 src/pages/my/transaction/[id].jsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/pages/my/transaction/[id].jsx')

diff --git a/src/pages/my/transaction/[id].jsx b/src/pages/my/transaction/[id].jsx
index ae27ab88..5167748c 100644
--- a/src/pages/my/transaction/[id].jsx
+++ b/src/pages/my/transaction/[id].jsx
@@ -1,4 +1,5 @@
 import AppLayout from '@/core/components/layouts/AppLayout'
+import IsAuth from '@/lib/auth/components/IsAuth'
 import TransactionComponent from '@/lib/transaction/components/Transaction'
 import { useRouter } from 'next/router'
 
@@ -6,8 +7,10 @@ export default function Transaction() {
   const router = useRouter()
 
   return (
-    <AppLayout title='Transaksi'>
-      <TransactionComponent id={router.query.id} />
-    </AppLayout>
+    <IsAuth>
+      <AppLayout title='Transaksi'>
+        <TransactionComponent id={router.query.id} />
+      </AppLayout>
+    </IsAuth>
   )
 }
-- 
cgit v1.2.3

